<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<LINK href="<?=$this->styleurl?>/images/index.css" type=text/css rel=stylesheet />
</head>
<body>
<TABLE width="100%" height="90" border=0 cellPadding=0 cellSpacing=0 CALLPADDING="0">
<form name="form1" action="<?=$this->adminurl?>/photo/submitpho" method="POST" enctype="multipart/form-data">
	<tr><td height="20px"><b>添加照片</b></td></tr>
	<TR BORDER="0" WIDTH="100%">
		<td height=30 colspan="2" align=left vAlign=top bgColor=#ffffff style="PADDING-LEFT: 8px; PADDING-TOP: 8px">
		<p>
		<table>
		<tr><td>相片标题:</td><td><input name="pho_title1" type="text" size="50"></td></tr>
		<tr><td colspan="2" height="10"></td></tr>
		<tr><td>上传:</td><td><input name="pho_dir1" type="file" size="50"></td></tr>
		</table>
		</p>
		</td>	
	</TR>
	<TR BORDER="0" WIDTH="100%">
		<td height=30 colspan="2" align=left vAlign=top bgColor=#ffffff style="PADDING-LEFT: 8px; PADDING-TOP: 8px">
		<p>
		<table>
		<tr><td>相片标题:</td><td><input name="pho_title2" type="text" size="50"></td></tr>
		<tr><td colspan="2" height="10"></td></tr>
		<tr><td>上传:</td><td><input name="pho_dir2" type="file" size="50"></td></tr>
		</table>
		</p>
		</td>	
	</TR>
	<TR BORDER="0" WIDTH="100%">
		<td height=30 colspan="2" align=left vAlign=top bgColor=#ffffff style="PADDING-LEFT: 8px; PADDING-TOP: 8px">
		<p>
		<table>
		<tr><td>相片标题:</td><td><input name="pho_title3" type="text" size="50"></td></tr>
		<tr><td colspan="2" height="10"></td></tr>
		<tr><td>上传:</td><td><input name="pho_dir3" type="file" size="50"></td></tr>
		</table>
		</p>
		</td>	
	</TR>
	<TR BORDER="0" WIDTH="100%">
		<td height=30 colspan="2" align=left vAlign=top bgColor=#ffffff style="PADDING-LEFT: 8px; PADDING-TOP: 8px">
		<p>
		<table>
		<tr><td>相片标题:</td><td><input name="pho_title4" type="text" size="50"></td></tr>
		<tr><td colspan="2" height="10"></td></tr>
		<tr><td>上传:</td><td><input name="pho_dir4" type="file" size="50"></td></tr>
		</table>
		</p>
		</td>	
	</TR>
	<TR BORDER="0" WIDTH="100%">
		<td height=30 colspan="2" align=left vAlign=top bgColor=#ffffff style="PADDING-LEFT: 8px; PADDING-TOP: 8px">
		<p>
		<table>
		<tr><td>相片标题:</td><td><input name="pho_title5" type="text" size="50"></td></tr>
		<tr><td colspan="2" height="10"></td></tr>
		<tr><td>上传:</td><td><input name="pho_dir5" type="file" size="50"></td></tr>
		</table>
		</p>
		</td>	
	</TR>
	
  <TR BORDER="0" WIDTH="100%">
    <TD style="PADDING-LEFT: 8px; PADDING-TOP: 8px" vAlign=top align=left bgColor=#ffffff height=30><span class="help">
      <input type="image" src="<?=$this->styleurl?>/images/submit.gif" align="absmiddle" border="0" name="submit" onclick="return checkform(this.form)" />
    </span></TD>
    </TR>
<tr><td>
</td>
</tr>
<input type="hidden" name="action" value="add">
<input type="hidden" name="pho_class_id" value="<?=$_GET["id"]?>">
</form>
</TABLE>
<script language="JavaScript" >

function chkform(theForm,msg,action){
	if (confirm(msg)){

		document.forms[theForm].action.value = action;
		document.forms[theForm].submit();
		return true;
	}else{
		return false;
	}
}
</script>